package cn.czxy.domain;

/**
 * @author 杨先生
 * @version 1.0
 * @date 2019/4/12
 */
public class User {

    /**  对应文件的路径*/
    private String path;
    private String userName;
    private  String passWord;
    private  String type; //用户类型 vip  普通
    private Integer maxScope;//最大内存
    private Integer currentScope;//当前内存

    //共享文件 ....


    @Override
    public String toString() {
        return "User{" +
                "path='" + path + '\'' +
                ", userName='" + userName + '\'' +
                ", passWord='" + passWord + '\'' +
                ", type='" + type + '\'' +
                ", maxScope=" + maxScope +
                ", currentScope=" + currentScope +
                '}';
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getMaxScope() {
        return maxScope;
    }

    public void setMaxScope(Integer maxScope) {
        this.maxScope = maxScope;
    }

    public Integer getCurrentScope() {
        return currentScope;
    }

    public void setCurrentScope(Integer currentScope) {
        this.currentScope = currentScope;
    }

    public User() {
    }

    public User(String path, String userName, String passWord, String type, Integer maxScope, Integer currentScope) {
        this.path = path;
        this.userName = userName;
        this.passWord = passWord;
        this.type = type;
        this.maxScope = maxScope;
        this.currentScope = currentScope;
    }
}
